home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / MPW Interfaces & Libraries / CIncludes / Desk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-29  |  1.2 KB  |  68 lines  |  [TEXT/MPS ]

  1.  
  2. /************************************************************
  3.  
  4. Created: Friday, September 13, 1991 at 12:24 PM
  5.  Desk.h
  6.  C Interface to the Macintosh Libraries
  7.  
  8.  
  9.   Copyright Apple Computer, Inc. 1985-1991
  10.   All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14.  
  15. #ifndef __DESK__
  16. #define __DESK__
  17.  
  18. #ifndef __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22. #ifndef __QUICKDRAW__
  23. #include <Quickdraw.h>
  24. #endif
  25.  
  26. #ifndef __EVENTS__
  27. #include <Events.h>
  28. #endif
  29.  
  30.  
  31. enum {
  32.  
  33.  accEvent = 64,
  34.  accRun = 65,
  35.  accCursor = 66,
  36.  accMenu = 67,
  37.  accUndo = 68,
  38.  accCut = 70,
  39.  accCopy = 71,
  40.  accPaste = 72,
  41.  accClear = 73,
  42.  goodbye = -1    /*goodbye message*/
  43. };
  44.  
  45. #ifdef __cplusplus
  46. extern "C" {
  47. #endif
  48. pascal short OpenDeskAcc(ConstStr255Param deskAccName)
  49.  = 0xA9B6; 
  50. pascal void CloseDeskAcc(short refNum)
  51.  = 0xA9B7; 
  52. pascal void SystemClick(const EventRecord *theEvent,WindowPtr theWindow)
  53.  = 0xA9B3; 
  54. pascal Boolean SystemEdit(short editCmd)
  55.  = 0xA9C2; 
  56. pascal void SystemTask(void)
  57.  = 0xA9B4; 
  58. pascal Boolean SystemEvent(const EventRecord *theEvent)
  59.  = 0xA9B2; 
  60. pascal void SystemMenu(long menuResult)
  61.  = 0xA9B5; 
  62. short opendeskacc(char *deskAccName); 
  63. #ifdef __cplusplus
  64. }
  65. #endif
  66.  
  67. #endif
  68.